package com.hkbigdata.sybx.bean;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author yangjing
 * @creat 2025-05-06-14:59
 * @email 3010335359@qq.com
 */

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ElderRegedit {
    private Long elder_id;
    private String name;
    private String gender;
    private Integer age;
    private Double height;
    private Double weight;
    // 添加日期转换器
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth_date;
    private String id_number;
    private String address;
    private String emergency_phone;
    private String medical_history;
    private String allergy;
    private Date created_at;
    private Date updated_at;
    private String user_id;

}
